package cn.ittaoli.szdz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by lub_lenovo on 2017/8/16.
 */
@Controller
@RequestMapping("/main")
public class MainController {

    @RequestMapping("/index")
    public String index(Model model){

        model.addAttribute("menu","系统说明");
        return "/main/index";
    }
}
